package com.example.demo.test2.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 数据库负载报告信息(DatabaseLoadReport)实体类
 *
 * @author makejava
 * @since 2022-05-13 11:42:06
 */
public class DatabaseLoadReport implements Serializable {
    private static final long serialVersionUID = -78828935752496807L;
    
    private Long id;
    /**
    * 数据库集群id
    */
    private Integer clusterId;
    /**
    * 报告创建人id
    */
    private Long userId;
    /**
    * 报告创建时间
    */
    private Date createTime;
    /**
    * 开始快照id
    */
    private String startSnapshotId;
    /**
    * 快照开始时间
    */
    private Date startTime;
    /**
    * 结束快照id
    */
    private String endSnapshotId;
    /**
    * 快照结束时间
    */
    private Date endTime;
    /**
    * 0-创建中 1-创建成功 2-创建失败
    */
    private Integer status;
    /**
    * 报告格式：1.HTML 2.PDF 3.HTML&PDF
    */
    private Integer reportType;
    /**
    * 报告文件所在路径
    */
    private String reportPath;
    /**
    * 报告文件名称
    */
    private String reportName;
    /**
    * 报告创建失败原因
    */
    private String createFailureReason;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getClusterId() {
        return clusterId;
    }

    public void setClusterId(Integer clusterId) {
        this.clusterId = clusterId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStartSnapshotId() {
        return startSnapshotId;
    }

    public void setStartSnapshotId(String startSnapshotId) {
        this.startSnapshotId = startSnapshotId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getEndSnapshotId() {
        return endSnapshotId;
    }

    public void setEndSnapshotId(String endSnapshotId) {
        this.endSnapshotId = endSnapshotId;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getReportType() {
        return reportType;
    }

    public void setReportType(Integer reportType) {
        this.reportType = reportType;
    }

    public String getReportPath() {
        return reportPath;
    }

    public void setReportPath(String reportPath) {
        this.reportPath = reportPath;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getCreateFailureReason() {
        return createFailureReason;
    }

    public void setCreateFailureReason(String createFailureReason) {
        this.createFailureReason = createFailureReason;
    }

}